package com.jlnk.petdemo.network;

import com.jlnk.petdemo.entity.PetResponse;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Query;

public interface PetApiService {
    @GET("fapigx/pet/query")
    Call<PetResponse> getPetList(@Header("key") String apiKey,
                                 @Query("name") String name,
                                 @Query("type") int type,
                                 @Query("page") int page,
                                 @Query("num") int num);
}